﻿package
{
	public class MainConfiguration
	{
		//Funitures, gardgets and accessoires Configuration Array
		public var funitursConfig:Array;
		public var gardgetsConfig:Array;
		public var houseAccessoriesConfig:Array;
		
		//Avata componets configuration array
		public var eyebowConfig:Array;
		public var mouthConfig:Array;
		public var noseConfig:Array;
		public var eyeConfig:Array;
		public var earConfig:Array;
		public var bodyAccessoriesConfig:Array;
		public var clothConfig:Array;
						
		//Wall and Floor texture Configuration Array
		public var wallTextureConfig:Array;
		public var fllorTextureConfig:Array;
		
		
		//color configuration array used for body, wall and floor
		public var colorConfig:Array;
		
		/* ** flash layout:  ** */
		
		//1. Wall Rect 
		public var wallX:int;
		public var wallY:int;
		public var wallWidth:int;
		public var wallHeight:int;

		//2.Floor Rect
		public var floorX:int;
		public var floorY:int;
		public var floorWidth:int;
		public var floorHeight:int;
		
		//3. Furniture Area
		public var furnitureAreaX:int;
		public var furnitureAreaY:int;
		public var furnitureAreaWidth:int;
		public var furnitureAreaHeight:int;
		
		//4. buttons area
		public var btnAreaX:int;
		public var btnAreaY:int;
		public var btnAreaWidth:int;
		public var btnAreaHeight:int;
		
		//5. status area
		public var statusAreaX:int;
		public var statusAreaY:int;
		public var statusAreaWidth:int;
		public var statusHeight:int;
		
		//6. status area layout
		
		//if display friends
		public var moveLeftX:int;
		public var moveLeftY:int;
		
		public var moveRightX:int;
		public var moverightY:int;
		
		public var moveFirstX:int;
		public var moveFirstY:int;
		
		public var moveLastX:int;
		public var moveLastY:int;
		
		public const var friendsPerPage:int = 7;
		public var friendsX:Array;
		public var friendsY:Array;
		
		public var photoX:Array;
		public var photoY:Array;
		public var photoWidth:int;
		public var photoHeight:int;
		
		public var avartaIconX:Array;
		public var avartaIconY:Array;
		public var avartaIconWidth:int;
		public var avartaIconHeight:int;
	
		//if display objects have been purchased
		public var sellIconX:int;
		public var sellIconY:int;
		
		public var giftIconX:int;
		public var giftIconY:int;
		
		public var moveItemLeftX:int;
		public var moveItemLeftY:int;
		
		public var moveItemRightX:int;
		public var moveItemrightY:int;
		
		public const var itemPerPage:int = 7;
		
		public var itemX:Array;
		public var itemY:Array;
		public var itemWidth:int;
		public var itemHeight:int;
		/* ** end falsh layout ** */

        /* ** UI Layout ** */
		public var coinIconX:int;
		public var coinIconY:int;
		public var coinValueX:int;
		public var coinValueY:int;
		
		public var experienceIconX:int;
		public var experienceIconY:int;
		public var experienceValueX:int;
		public var experienceValueY:int;
		public var levelValueX:int;
		public var levelValueY:int;
		
		public var soundBtnX:int;
		public var soundBtnY:int;
		
		public var saveBtnX:int;
		public var saveBtnY:int;
		
		public var quitBtnX:int;
		public var quitBtnY:int;
		
		public var socialValueX:int;
		public var socialValueY:int;
		public var socialIconX:int;
		public var socialIconY:int;
		
		public var happinessValueX:int;
		public var happinessValueY:int;
		public var happinessIconX:int;
		public var happinessIconY:int;
		
		public var tidinessValueX:int;
		public var tidinessValueY:int;
		public var tidinessIconX:int;
		public var tidinessIconY:int;
		
		public var avartaMoveLeftX:int;
		public var avartaMoveLeftY:int;
		public var avartaMoveRightX:int;
		public var avartaMoveRightY:int;
		
		public var leaveHomeBtnX:int;
		public var leaveHomeBtnY:int;
		public var homeBtnX:int;
		public var homeBtnY:int;
		public var avartaDesignBtnX:int;
		public var avartaDesignBtnY:int;
		public var purchasedItemBtnX:int;
		public var purchasedItemBtnY:int;
		public var awardBtnX:int;
		public var awardBtnY:int;
		
		/* ** end UI Layout ** */
		
		public function MainConfiguration()
		{
			
			//get parameters from Configuration XML file
			//var configURLRequest:URLRequest = new URLRequest(NetworkConfig.webRoot + NetworkConfig.configURL);
			//var urlLoder:URLLoader = new URLLoader(configURLRequest);
			
			//fill in variable value from the XML content 
			
			
		}
	}
}